<div id="">
    <div class="listtitle">
        <div class="left">
            Kết quả tìm kiếm
        </div>
    </div>
    <div id="">

        <div class="list2">
<?php foreach ($aryProduct as $key => $product) { ?>
                <div class="item">
                    <div class="left">
                        <div class="border">
                            <?php if($product['product_type_id'] == 1) {?>
                            <div class="image_new">&nbsp;</div>
                            <?php } ?>
                            <div class="image">
                                <div class="divvalign">
                                    <div class="divvalign2">
                                        <a href="<?php echo $root_pag;?>/sanpham/<?php echo $product['product_id'];?>/<?php echo $product['product_title_filter'];?>.html" title="<?php echo $product['product_title'];?>">
                                            <img src="<?php echo $sub_domain;?>/images/upload/thumbnail/<?php echo $product['product_main_image'];?>" alt="<?php echo $product['product_title'];?>" title="<?php echo $product['product_title'];?>">
                                        </a>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="right">
                        <div class="col2">
                            <div class="name">
                                <a href="<?php echo $root_pag;?>/sanpham/<?php echo $product['product_id'];?>/<?php echo $product['product_title_filter'];?>.html" title="<?php echo $product['product_title'];?>"><?php echo $product['product_title'];?></a>
                            </div>
                            <div class="item_highlight">
                                <?php echo $product['product_highlight'];?>
                            </div>
                            <div><a class="showall" href="<?php echo $root_pag;?>/sanpham/<?php echo $product['product_id'];?>/<?php echo $product['product_title_filter'];?>.html" title="Xem chi tiết">Xem chi tiết</a></div>
                        </div>
                        <div style="display: block;" class="col3">
                            <div class="top">
                                <?php if($product['product_price_active_km'] == 1){?>
                                <div class="price">
                                    Giá cũ : <span class="price_older"><?php echo number_format($product['product_price_vnd'], 0, ',', '.'); ?>&nbsp;VNĐ</span>
                                </div>
                                <div class="price">
                                    Giá KM : <span class="number"><?php echo number_format($product['product_price_vnd_km'], 0, ',', '.'); ?>&nbsp;VNĐ</span>
                                </div>
                                <?php }else{ ?>
                                <div class="price">
                                    Giá bán : <span class="number"><?php echo ($product['product_price_vnd'] != 0) ? number_format($product['product_price_vnd'], 0, ',', '.').'&nbsp;VNĐ' : '<a onclick="MyController.OverlayChat();" style="color: red;">Call</a>'; ?></span>
                                </div>
                                <?php } ?>
                                <div class="vat">
                                    <?php echo ($product['product_is_vat'] == 1) ? 'Đã bao gồm VAT' : 'Chưa bao gồm VAT';?>
                                </div>

                                    <div style="padding-left: 40px;">
                                        <?php if(in_array($product['product_id'], $aryOrderProductId)) {?>
                                        <div>
                                            Đã có trong giỏ hàng
                                        </div>
                                        <div>
                                            <a href="<?php echo $root_pag;?>/order/chi-tiet-gio-hang.html" title="Xem giỏ hàng">Xem giỏ hàng</a>
                                        </div>
                                        <?php }else{ ?>
                                        <div id="product_order_<?php echo $product['product_id'];?>">
                                            <div class="btnorder" onclick="MyController.addProductToShopCat(<?php echo $product['product_id'];?>, <?php echo $product['product_category_id'];?>);"></div>
                                        </div>
                                        <?php }?>

                                    </div>
                            </div>
                            <div class="under">
                                <div class="bullet_pro">
                                    <?php echo $product['product_promotional'];?>
                                </div>

                            </div>
                        </div>
                    </div>
                    <div class="clear">
                    </div>
                </div>
<?php } ?>`


        </div>
        <?php echo $strPaging;?>
    </div>


</div>